#include <stdio.h>

int main(void)
{
    char ch;
    printf("Press a key and then press Enter:\n");
    ch = getchar();
    printf("%c,%d\n", ch - 32, ch - 32);
    return 0;
}